package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 任务详情对象 task_detail
 * 
 * @author ruoyi
 * @date 2024-03-24
 */
public class TaskDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务ID */
    @Excel(name = "任务ID")
    private Integer taskId;

    /** 子任务ID */
    private Integer subtaskId;

    /** 子任务名称 */
    @Excel(name = "子任务名称")
    private String subtaskName;

    /** 生产环节 */
    @Excel(name = "生产环节")
    private Integer productionStage;

    /** 子任务描述 */
    @Excel(name = "子任务描述")
    private String subtaskDesc;

    /** 上游企业名称 */
    @Excel(name = "上游企业名称")
    private String upstreamEnterpriseName;

    /** 下游企业名称 */
    @Excel(name = "下游企业名称")
    private String downstreamEnterpriseName;

    /** 子任务状态 */
    @Excel(name = "子任务状态")
    private String subtaskStatus;

    public void setTaskId(Integer taskId) 
    {
        this.taskId = taskId;
    }

    public Integer getTaskId() 
    {
        return taskId;
    }
    public void setSubtaskId(Integer subtaskId) 
    {
        this.subtaskId = subtaskId;
    }

    public Integer getSubtaskId() 
    {
        return subtaskId;
    }
    public void setSubtaskName(String subtaskName) 
    {
        this.subtaskName = subtaskName;
    }

    public String getSubtaskName() 
    {
        return subtaskName;
    }
    public void setProductionStage(Integer productionStage) 
    {
        this.productionStage = productionStage;
    }

    public Integer getProductionStage() 
    {
        return productionStage;
    }
    public void setSubtaskDesc(String subtaskDesc) 
    {
        this.subtaskDesc = subtaskDesc;
    }

    public String getSubtaskDesc() 
    {
        return subtaskDesc;
    }
    public void setUpstreamEnterpriseName(String upstreamEnterpriseName) 
    {
        this.upstreamEnterpriseName = upstreamEnterpriseName;
    }

    public String getUpstreamEnterpriseName() 
    {
        return upstreamEnterpriseName;
    }
    public void setDownstreamEnterpriseName(String downstreamEnterpriseName) 
    {
        this.downstreamEnterpriseName = downstreamEnterpriseName;
    }

    public String getDownstreamEnterpriseName() 
    {
        return downstreamEnterpriseName;
    }
    public void setSubtaskStatus(String subtaskStatus) 
    {
        this.subtaskStatus = subtaskStatus;
    }

    public String getSubtaskStatus() 
    {
        return subtaskStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("subtaskId", getSubtaskId())
            .append("subtaskName", getSubtaskName())
            .append("productionStage", getProductionStage())
            .append("subtaskDesc", getSubtaskDesc())
            .append("upstreamEnterpriseName", getUpstreamEnterpriseName())
            .append("downstreamEnterpriseName", getDownstreamEnterpriseName())
            .append("subtaskStatus", getSubtaskStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
